package com.sias.sogra;

import com.sias.sogra.service.UserService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author 吴文杰
 * @version 1.0
 * @createTime ${YEAR}-${MONTH}-${DAY} $HOUR:$MINUTE:$SECOND
 */
public class Main {
  public static void main(String[] args) {
    AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);

    UserService userService = (UserService) context.getBean("userService");
    userService.test();
  }
}